package Rectangle;

public class Cuboid {
	double height;
	Rectangle bottom;
	
	public Cuboid(double height,Rectangle bottom){
		this.height=height;
		this.bottom=bottom;
	}
	public double getV(){
		return bottom.getArea()*height;
	}
}